<!DOCTYPE html>
<html class="${bg!}">

@/**
@ *      本页面所用的模板变量
@ *
@ * title          :  页面的标题
@ * layoutContent  :  主页面的html内容
@ * js             :  业务所需要的js，为数组
@ * css            :  业务所需要的css，为数组
@ * bg             :  背景颜色
@ * plugins        :  需要用到的插件
@ **/

<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>${title!"管理系统"}</title>
    <link rel="stylesheet" href="${ctxPath}/assets/common/libs/layui/css/layui.css?v=${constants.getReleaseVersion()}"/>
    <link rel="stylesheet" href="${ctxPath}/assets/common/module/admin.css?v=${constants.getReleaseVersion()}" media="all"/>
    <link rel="stylesheet" href="${ctxPath}/assets/expand/css/style.css?v=${constants.getReleaseVersion()}" media="all"/>
    <!--其他插件css-->
    @if(isNotEmpty(plugins)){
        @if(array.contain(plugins,"workflow")){
        <link href="${ctxPath}/assets/common/module/formSelects/formSelects-v4.css?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
        @}
    @}

    @/* 其他业务用的css */
    @if(isNotEmpty(css)){
    @for(item in css){
    @if(strutil.startWith(item,"/")){
    @item = ctxPath + item;
    @}
    <link href="${item}?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
    @}
    @}
    <style>
        .layui-form-item {
            margin-bottom: 0;
            /*margin-top: 20px;*/
        }
        .layui-form-pane .layui-form-label {
            width: 150px;
            text-align: right;
            white-space: pre-wrap;
        }
        .layui-form-pane .layui-form-area-label {
            width: 100%;
            text-align: right;
            white-space: pre-wrap;
            padding: 8px 15px;
            height: 38px;
            line-height: 20px;
            border-width: 1px;
            border-style: solid;
            border-radius: 2px 0 0 2px;
            background-color: #FBFBFB;
            overflow: hidden;
            box-sizing: border-box;
            border-color: #e6e6e6;
        }

        .layui-form-pane .layui-input-block {

            margin-left: 150px;
            left: -1px;
        }
        .layui-form-pane .layui-form-checkbox {
            margin: 3px 0px 3px 10px;
        }
        .layui-form-item .layui-inline {
            margin-bottom: 2px;
            margin-right: 0;
        }

        .form-group-bottom {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #fff;
            padding: 10px 20px;
            box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, .05);
        }
        .layui-form-pane .layui-form-item .layui-empty-item {
            border-color: #e6e6e6;
            position: relative;
            border-width: 1px;
            border-style: solid;
        }
        textarea.layui-disabled, textarea.layui-disabled:hover {
            background-color: rgb(238, 238, 238);
            color: rgb(85, 85, 85) !important;
        }
        span.layui-disabled, span.layui-disabled:hover {
            background-color: rgb(238, 238, 238);
            color: rgb(85, 85, 85) !important;
        }
        .chjtable{

        }
        .chjtableLabel{
            text-align:center;
            padding: 3px;
            width:120px;
        }
        td{
            padding-top:0px;
            padding-bottom:0px;
        }
        .form-read-input {
            padding: 9px 15px;
            line-height: 1.3;
            display: block;
        }
    </style>
</head>

<body>

@/* 页面加载loading */
@ include("/common/loading.html"){}



@/* 加入contextPath属性和session超时的配置 */
<script type="text/javascript">
    var Feng = {
        ctxPath: "${ctxPath}",
        version: '${constants.getReleaseVersion()}',
    };
</script>

@/* js和业务用的js数组 */
<script type="text/javascript" src="${ctxPath}/assets/common/libs/layui/layui.js?v=${constants.getReleaseVersion()}"></script>
<script type="text/javascript" src="${ctxPath}/assets/common/js/common.js?v=${constants.getReleaseVersion()}"></script>
<script type="text/javascript" src="${ctxPath}/assets/common/kit.js?v=${constants.getReleaseVersion()}"></script>
<script type="text/javascript" src="${ctxPath}/assets/common/xyForm.js?v=${constants.getReleaseVersion()}"></script>
<!--其他插件js-->
@if(isNotEmpty(plugins)){
    @if(array.contain(plugins,"ue")){
    <script src="${ctxPath}/assets/common/libs/jquery/jquery-3.7.0.min.js"></script>
    <script src="${ctxPath}/assets/expand/plugins/ueditor/ueditor.config.js"></script>
    <script src="${ctxPath}/assets/expand/plugins/ueditor/ueditor.all.js"></script>
    @}
@}

@if(isNotEmpty(js)){
@for(item in js){
@if(strutil.startWith(item,"/")){
@item = ctxPath + item;
@}
<script src="${item}?v=${constants.getReleaseVersion()}"></script>
@}
@}

@/* 正文 */
${layoutContent}

</body>
</html>